﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Quester.Models
{
    public class ActionBtn
    {
        public ActionBtn()
        {
            Parametrs = new Dictionary<string, string>();
        }

        public string Title { get; set; }
        public string Action { get; set; }
        public string Controller { get; set; }
        public string Icon { get; set; }
        public Dictionary<string, string> Parametrs { get; set; }
        public string CssClass { get; set; }

    }

    public class Item
    {
        public Guid ID { get; set; }
        public object Value { get; set; }
    }

    public class XListViewModel
    {
        public XListViewModel()
        {
            CaptionBtns = new List<ActionBtn>();
            ItemBtns = new List<ActionBtn>();
            Items = new List<Item>();
        }

        public string Title { get; set; }
        public List<ActionBtn> CaptionBtns { get; set; }
        public List<ActionBtn> ItemBtns { get; set; }
        public List<Item> Items { get; set; }
    }

}